package com.itheima.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.pojo.YddArticle;
import lombok.Data;

@Data
public class ArticleVo  {
    private String author;
    private String catename;
    private Long click;
    @JsonProperty("create_date")
    private Long createDate;
    private String description;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 0表示不推荐1表示推荐
     */
    private Integer ishot;

    /**
     * 是否置顶，1是，0否，置顶的文章必须是推荐文章
     */
    private Integer istop;
    /**
     * seo关键字
     */
    private String keywords;
    /**
     * 收藏数量
     */
    private String lovenum;
    /**
     * 缩略图，可多张逗号分隔
     */
    private String pic;
    private String tags;
    private String title;
}
